package com.study.model.mdao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.study.model.pojo.Warehouse;

@Mapper
public interface WarehouseMapper {
	
	//查询所有仓库信息
	public List<Warehouse> findAll();
	
	//添加仓库
	public void addWarehouse(Warehouse warehouse);
	
	//根据仓库类型查找
	public List<Warehouse> findByWarKind(String warKind);
	
	//删除仓库
	public void delWarehouse(String warId);
	
	//修改状态
	public void editStatic(String warId);
	
	//修改仓库
	public void editWarehouse(Warehouse warehouse);
}
